﻿using System;
using Soundteller.AudioVisual.Model.Interfaces;

namespace Soundteller.AudioVisual.Repositories
{
    public class MemoryRepositoryBase
    {
        protected IMemoryContext Context { get; private set; }

        public MemoryRepositoryBase(IMemoryContext context)
        {
            if (context == null) throw new ArgumentNullException("context");

            Context = context;
        }
    }
}